package rouchuan.viewpagerlayoutmanager.gallery;

import com.zlzlib.liblayoutmanager.LayoutGalleryManager;

import rouchuan.viewpagerlayoutmanager.BaseActivity;
import rouchuan.viewpagerlayoutmanager.Util;

/**
 * Created by Dajavu on 27/10/2017.
 */

public class GalleryLayoutActivity extends BaseActivity<LayoutGalleryManager, GalleryPopUpWindow> {

    @Override
    protected LayoutGalleryManager createLayoutManager() {
        return new LayoutGalleryManager(this, Util.Dp2px(this, 10));
    }

    @Override
    protected GalleryPopUpWindow createSettingPopUpWindow(boolean isAuto) {
        return new GalleryPopUpWindow(this, getViewPagerLayoutManager(), getRecyclerView(),isAuto);
    }
}
